import request from '../utils/request';

export const getListApi = (params) => {
    return request({
        url: 'staff/list',
        params
    })
}

export const setListApi = (data) => {
    return request({
        url: 'staff/save',
        method: 'post',
        data
    })
}

export const delListApi = (params) => {
    return request({
        url: 'staff/delOne',
        method: 'get',
        params
    })
}

export const delAllListApi = (params) => {
    return request({
        url: 'staff/delMany',
        method: 'get',
        params
    })
}